/*
user适配器
 */

var Eventproxy = require('eventproxy');
var models = require('../models');
var User = models.User;

exports.getUserById = function(uid,callback){


    User.getUserById(uid,function(err,docs){
        if(err){
            return callback(err);
        }
        return callback(docs);
    });
}